import request from '@/utils/request'
import { download} from '@/utils/request'
import { parseStrEmpty } from "@/utils/ruoyi";

// 订单列表
export function orderList(query) {
  return request({
      url: '/admin/order/list',
      method: 'get',
      params: query
  });
}
//服务列表
export function projectList(query) {
  return request({
      url: '/admin/order/project/list',
      method: 'get',
      params: query
  });
}
//通话列表
export function voiceList(orderNo) {
  return request({
      url: '/admin/order/voice/' + orderNo,
      method: 'get'
  });
}
//报备详情
export function reportInfo(orderNo) {
  return request({
      url: '/admin/order/report/' + orderNo,
      method: 'get'
  });
}

//详情
export function orderInfo(orderNo) {
  return request({
      url: '/admin/order/info/' + orderNo,
      method: 'get'
  });
}

//更换技师 -  技师列表
export function jishiChangeSelectList(query) {
  return request({
      url: '/admin/order/change/select',
      method: 'get',
      params: query
  });
}

//更换技师 - 确认修改
export function jishiChangeConfirm(query) {
  return request({
      url: '/admin/order/change/confirm',
      method: 'get',
      params: query
  });
}